import MenuToolWindow from "./tool/menu/MenuToolWindow.vue";
import FilesToolWindow from "./tool/files/FilesToolWindow.vue";
import Notify from "./tool/notify/Notify.vue";
import {App} from "vue";


const components = [
    MenuToolWindow,
    FilesToolWindow,
    Notify
]

export const registerTools = function (Vue:App) {
    components.forEach(component => {
        if (component.__name!==undefined){
            Vue.component(component.__name, component)
        }
        if (component.name!==undefined){
            Vue.component(component.name, component)
        }
    })
}
